package cn.topevery.garden.wapi.model;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "坐标距离参数")
public class MapDistanceParam {

    @NotNull(message = "坐标信息不能为空")
    private Double gisX;

    @NotNull(message = "坐标信息不能为空")
    private Double gisY;

    @NotNull(message = "距离不能为空")
    private Integer distance;
}
